export enum E_SEND_MESSAGE_ROLE_TYPE {
  OTHER = '',
  /** 管理员 */
  ADMIN = 1,
  /** 用户 */
  USER,
}
export const sendMessageRoleTypeOptions: LabelValue[] = [
  { label: '全部邮件', value: E_SEND_MESSAGE_ROLE_TYPE.OTHER },
  { label: '管理员邮件', value: E_SEND_MESSAGE_ROLE_TYPE.ADMIN },
  { label: '用户邮件', value: E_SEND_MESSAGE_ROLE_TYPE.USER },
]

export enum E_SEND_MESSAGE_CATEGORY {
  /** 验证码 */
  VERIFY_CODE = 1,
  /** 购买凭证 */
  CERTIFICATE_OF_PURCHASE,
  /** 激活邮件 */
  ACTIVATION_EMAIL,
  /** 系统通知 */
  SYSTEM_NOTIFICATION,
  /** 告警 */
  ALARM,
}
export const sendMessageCategoryOptions: LabelValue[] = [
  { label: '验证码', value: E_SEND_MESSAGE_CATEGORY.VERIFY_CODE },
  { label: '购买凭证', value: E_SEND_MESSAGE_CATEGORY.CERTIFICATE_OF_PURCHASE },
  { label: '激活邮件', value: E_SEND_MESSAGE_CATEGORY.ACTIVATION_EMAIL },
  { label: '系统通知', value: E_SEND_MESSAGE_CATEGORY.SYSTEM_NOTIFICATION },
  { label: '告警消息', value: E_SEND_MESSAGE_CATEGORY.ALARM },
]

export enum E_SEND_MESSAGE_TYPE {
  /** 邮箱 */
  EMAIL = 1,
  /** 短信 */
  SMS,
}
export const sendMessageTypeOptions: LabelValue[] = [
  { label: '邮箱', value: E_SEND_MESSAGE_TYPE.EMAIL },
  { label: '短信', value: E_SEND_MESSAGE_TYPE.SMS },
]

export enum E_SEND_MESSAGE_STATUS {
  /** 发送成功 */
  SUCCESS = 1,
  /** 发送中 */
  SENDING,
  /** 发送失败 */
  FAILED,
}
export const sendMessageStatusOptions: LabelValue[] = [
  { label: '成功', value: E_SEND_MESSAGE_STATUS.SUCCESS },
  { label: '发送中', value: E_SEND_MESSAGE_STATUS.SENDING },
  { label: '失败', value: E_SEND_MESSAGE_STATUS.FAILED },
]
